{extend name="layouts/main" /}
{block name="content"}
<div class="layui-tab layui-tab-brief" lay-filter="demoTitle">
	<div class="layui-body layui-tab-content site-demo site-demo-body" style="top: 0px;left: 0px;">
		<div class="layui-tab-item layui-show">
			<div class="layui-main">
				<div id="LAY_preview">
					<blockquote class="layui-elem-quote layui-text" style="margin-bottom: 5px;">
						<i class="fa fa-home"></i>
						<span class="layui-breadcrumb">
							<a><cite>系统主页</cite></a>
							<a><cite>{$meta_title}</cite></a>
							<a href="http://www.querylist.cc/docs/guide/v4" target="_blank">点击查看《QueryList 4.0 指导文档》</a>
						</span>
					</blockquote>
					<form class="layui-form layui-form-pane form-horizontal" action="{:url('')}" method="post">
						<!-- 模型自定义字段开始-->
                        {if condition="$modelFieldRes"}
                        {volist name="modelFieldRes" id="modelField"}
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label" title="{$modelField.title}">{$modelField.title}</label>
								<div class="layui-form-mid"></div>
								<div class="layui-input-inline" style="width: 332px;">
									<input type="text" name="{$modelField.name}[0]" placeholder="" autocomplete="off" class="layui-input" value="">
									<span class="layui-form-mid layui-word-aux">
										[ 采集规则，例：.list_thumbnail>img ]
									</span>
									<span class="sysval"><em class="zerocopy">{$modelField.name}[0]</em></span>
								</div>
								<div class="layui-form-mid"></div>
								<div class="layui-input-inline" style="width: 332px;">
									<input type="text" name="{$modelField.name}[1]" placeholder="" autocomplete="off" class="layui-input" value="">
									<span class="layui-form-mid layui-word-aux">
										[ 采集属性，例：html或text或href或src ]
									</span>
									<span class="sysval"><em class="zerocopy">{$modelField.name}[1]</em></span>
								</div>
								<div class="layui-form-mid"></div>
								<div class="layui-input-inline" style="width: 332px;">
									<input type="text" name="{$modelField.name}[2]" placeholder="" autocomplete="off" class="layui-input" value="">
									<span class="layui-form-mid layui-word-aux">
										[ 过滤规则，例：-.tt -span:last -p:last ]
									</span>
									<span class="sysval"><em class="zerocopy">{$modelField.name}[2]</em></span>
								</div>
							</div>
						</div>
						{/volist}
                		{/if}
                		<!-- 模型自定义字段结束-->
						<div class="layui-form-item">
							<div class="layui-input-block">
								<input type="hidden" name="node_id" value="{:input('node_id')}">
								<button class="layui-btn x_admin_close ajax-post" type="submit" target-form="form-horizontal" lay-submit="" lay-filter="formDemo">保存信息</button>
								<button type="reset" class="layui-btn layui-btn-danger">重置</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
{/block}
{block name="footer"}
{/block}
{block name="js"}
{/block}
